package com.zcz.umengpush.util.android;

import com.zcz.umengpush.util.AndroidNotification;
import org.json.JSONObject;



public class AndroidGroupcast extends AndroidNotification {
	public AndroidGroupcast(String appkey,String appMasterSecret) throws Exception {
			setAppMasterSecret(appMasterSecret);
			setPredefinedKeyValue("appkey", appkey);
			this.setPredefinedKeyValue("type", "groupcast");	
	}
	/**
	 * 设置过滤器
	 * @param filter
	 * @throws Exception
	 */
	public void setFilter(JSONObject filter) throws Exception {
    	setPredefinedKeyValue("filter", filter);
    }
}
